home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 1 / Meeting Pearls Vol 1 (1994).iso / installed_progs / text / faqs / distributions.macros < prev    next >
Encoding:
Internet Message Format  |  1994-04-17  |  7.6 KB

  1. Subject: News Administration Macros for Geographic Distributions
  2. Newsgroups: news.admin.misc,news.lists,news.answers
  3. From: mdl@wndrsvr.la.ca.us (Mr. Distribution Lists)
  4. Date: Sat, 16 Apr 1994 02:36:53 GMT
  5.  
  6.  
  7. Archive-name: distributions/macros
  8. Version: $Id: dist.macro,v 1.14 1994/04/15 15:50:42 mdl Exp mdl $
  9.  
  10.  
  11. Many many thanks to Sean Goggin for donating his time and energy to
  12. producing this list for the rest of us!
  13.  
  14. Anyone should feel free to improve upon this excellent starting point 
  15. provided by Sean, and send in an updated copy.  I am posting it as is.  
  16. Thanks again Sean!!!
  17.  
  18.  
  19. ***************************************************************************
  20.  
  21. If you wish use the valid distribution list to fix news problems you may
  22. wish to :
  23.     - integrate all distributions in to one list
  24.     - ask postmasters of sites with conflicting distributions
  25.       to use an other names
  26.         EG
  27.             uw  uwashington
  28.             uw  uwaterloo
  29.     - build awk programs to parse format into m4 marcos
  30.  
  31. Enclosed is version 1.1 of the marcos I sent you.
  32. I look forward to any comments.
  33.  
  34. The current format is difficult to parse with awk, lex and yacc
  35. will likly be needed to parse it.
  36.  
  37. # m4 macros by Sean Goggin - this is in the public domain
  38. # $Log: dist.macro,v $
  39. # Revision 1.14  1994/04/15  15:50:42  mdl
  40. # *** empty log message ***
  41. #
  42. # Revision 1.13  1994/01/17  23:03:03  mdl
  43. # *** empty log message ***
  44. #
  45. # Revision 1.12  1993/10/24  03:16:53  mdl
  46. # *** empty log message ***
  47. #
  48. # Revision 1.11  1993/09/17  01:12:37  mdl
  49. # *** empty log message ***
  50. #
  51. # Revision 1.10  1993/08/16  19:11:30  mdl
  52. # *** empty log message ***
  53. #
  54. # Revision 1.9  1993/07/15  21:00:56  mdl
  55. # update
  56. #
  57. #
  58. #na: North America/Mexico*,CAN,USA
  59. define(NA, `CAN,USA')
  60.  
  61. #
  62. #usa: United States of America/NA
  63. #    rg: Rio Grande Valley/New Mexico*/USA
  64. #    pnw: Pacific North West/Idaho*,OR,WA/USA
  65. define( PNW,`pnw,OR,WA')
  66.  
  67. #    ne: New England/Connecticut*,Massachusetts*,Maine*,New Hampshire*,Rhode Island*,Vermont*/USA
  68. #    capdist: Capital District/Albany*,Schenectady*,Troy*/NY/USA
  69. #
  70. #    az: Arizona/USA
  71. #    hsv: Huntsville/Alabama*/USA
  72. #    ca: California/USA
  73. #        ba: San Francisco Bay Area/CA/USA
  74. #        chico: Chico/CA/USA
  75. #        la: Los Angeles county/CA/USA
  76. #        oc: Orange County/CA/USA
  77. #        sac: Sacramento/CA/USA
  78. #        sba: Santa Barbara/CA/USA
  79. #        scruz: Santa Cruz/CA/USA
  80. #        sdnet: San Diego county/CA/USA
  81. define( CA,`ca,ba,chico,la,oc,sac,sba,scruz,sdnet')
  82. #    co: Colorado/USA
  83. #    dc: Washington D.C./USA
  84. #    fl: Florida/USA
  85. #        mlb: Melbourne/BERVARD/FL/USA
  86. #        miami: Miami/FL/USA
  87. #        oau: Orlando/FL/USA
  88. #        sarasota: Sarasota/FL/USA
  89. #        tba: Tampa Bay Area/FL/USA
  90. define( FL,`fl,mlb,miami,oau,sarasota,tba')
  91. #    ga: Georgia/USA
  92. #        atl: Atlanta/GA/USA
  93. define( GA,`ga,atl')
  94. #    ia: Iowa/USA
  95. #        iowacity: Iowa City/IA/USA
  96. define( IA,`ia,iowacity')
  97. #    il: Illinois/USA
  98. #        chi: Chicago/IL/USA
  99. define( IL,`il,chi')
  100. #    in: Indiana/USA
  101. #    ks: Kansas/USA
  102. #        mhk: Manhattan/KS/USA
  103. #        kc: Kansas City/Kansas City metro*/USA
  104. define( KS,`ks,mhk,kc')
  105. #    ky: Kentucky/USA
  106. #    lou: Louisiana/USA
  107. #        neworleans: New Orleans/LOU/USA
  108. define( LOU,`lou,neworleans')
  109. #    md: Maryland/USA
  110. #    mi: Michigan/USA
  111. #        aa: Ann Arbor/MI/USA
  112. #        det: Detroit/MI/USA
  113. define( MI,`mi,aa,det')
  114. #    mn: Minnesota/USA
  115. #    mo: Missouri/USA
  116. #        stl: St. Louis/MO/USA
  117. define( MO,`mo,stl')
  118. #    nc: North Carolina/USA
  119. #        triangle: Research Triangle Park area/NC/USA
  120. define( NC,`nc,triangle')
  121. #    nj: New Jersey/USA
  122. #        bergen: Bergen County/NJ/USA
  123. define( NJ,`nj,bergen')
  124. #    ny: New York/USA
  125. #        nyc: New York City/NY/USA
  126. #        wny: Western NY(Rochester,Buffalo)/NY/USA
  127. define( NY,`ny,nyc,wny')
  128. #    oh: Ohio/USA
  129. #        akron: Akron/OH/USA
  130. #        cle: Cleveland/OH/USA
  131. #        cmh: Columbus/OH/USA
  132. define( OH,`oh,akron,cle,cmh')
  133. #    ok: Oklahoma/USA
  134. #    or: Oregon/USA
  135. #        pdx: Portland/OR/USA
  136. define(    OR,`or,pdx')
  137. #    pa: Pennsylvania/USA
  138. #        pgh: Pittsburgh/PA/USA
  139. #        phl: Philadelphia/PA/USA
  140. define( PA,`pa,pgh,phl')
  141. #    tn: Tennessee/USA
  142. #    tx: Texas/USA
  143. #        austin: Austin/TX/USA
  144. #        houston: Houston/TX/USA
  145. #        dfw: Dallas-Ft Worth/TX/USA
  146. define( TX,`tx,austin,houston,dfw')
  147. #    utah: Utah/USA
  148. #    va: Virginia/USA
  149. #        tdw: Tidewater/VA/USA
  150. define( VA,`va,tdw')
  151. #    wa: Washington/USA
  152. #        sea: Seattle/WA/USA
  153. #        seattle: Seattle/WA/USA
  154. define( WA,`wa,sea,seattle')
  155. #    wi: Wisconsin/USA
  156. #        milw: Milwaukee/WI/USA
  157. define( WI,`wi,milw')
  158. define( USA,`rg,PNW,ne,capdist,az,hsv,CA,co,dc,FL,GA,IA,IL,KS,ky,LOU,md,MI,mn,MO,NC,NJ,NY,OH,OR,PA,tn,TX,utah,VA,WA,WI')
  159.  
  160. #
  161. #aus: Australia
  162. #can: Canada
  163. #    ab: Alberta/CAN
  164. #        edm: Edmonton/AB/CAN
  165. define( AB,`ab,edm')
  166. #    bc: British Columbia/CAN
  167. #    ns: Nova Scotia/CAN
  168. #        hfx: Halifax/NS/CAN
  169. define( NS,`ns,hfx')
  170. #    qc: Quebec/CAN
  171. #        mtl: Montreal/QC/CAN
  172. #    atl: Atlantic Provinces/NS, New Brunswick*, Prince Edward Island*, Newfoundland*/CAN
  173. #    ont: Ontario/CAN
  174. #        kw: Kitchener-Waterloo/ONT/CAN
  175. #        ott: Ottawa/ONT/CAN
  176. #        tor: Toronto/ONT/CAN
  177. #        kingston: Kingston/ONT/CAN/NA
  178. define(    ONT,`ont,kw,ott,tor,kingston')
  179. define( CAN,`AB,bc,NS,qc,atl,ONT')
  180.  
  181. #ch: Switzerland
  182. #fj: Japan
  183. #ie: Ireland
  184. #il: Israel
  185. #na: Namibia
  186. #nlnet: Netherlands
  187. #no: Norway
  188. #nz: New Zealand
  189. #    wgtn: Wellington/NZ
  190. define( NZ,`nz,wgtn')
  191. #se: Sweden
  192. #sfnet: Finland
  193. #su: Soviet Union
  194. #    relcom: Relcom/Russia*/SU
  195. define( SU,`su,relcom')
  196. #uk: United Kingdom
  197. #    cam: Cambridge/England*/UK
  198. #    cov: Coventry/England*/UK
  199. #    lon: The London UK area/England*/UK
  200. #    midlands: Midlands Area/England*/UK
  201. #    scot: Scotland/UK
  202. #        ed: Edinburgh/SCOT/UK
  203. define( SCOT,`scot,ed')
  204. define( UK,`uk,cov,lon,midlands,SCOT')
  205. #es: Spain/EUNET
  206. #za: South Africa
  207. #    uninet: University Net/ZA
  208. define( ZA,`za,uninet')
  209. #
  210. #belwue: Baden-Wuerttemberg/Germany/Europe*
  211. #stgt: Stuttgart/BELWUE/Germany*/Europe
  212. #ka: Karlsruhe/Beden-Wuerttemberg/Germany/Europe
  213.  
  214. # Only the ME line is mandatory; the others are just samples of how to do
  215. # things.  Virtually everything will need modifying for your local feeds
  216. # and newsgroups.
  217.  
  218. # line indicating what we are willing to receive; note local groups on end
  219.  
  220. # You may use a macro defined above to express all the valid local groups
  221. # for an region.
  222. #
  223. # For example the "CAN" in the next line will be converted all valid
  224. # Canadian regional groups
  225. ME:comp,news,sci,rec,misc,soc,talk,CAN
  226.  
  227. # sample insignificant feed not using batching (for special situations only)
  228. lemsys:alt.binaries.pictures.erotica.female::uux - -r -gd lemsys!rnews
  229. huey:news.config,to.huey/all::uux - -r -gd huey!rnews
  230.  
  231. # sample of mailing newsgroups to someone (note distribution)
  232. daisy:soc.women,soc.couples/all::mail daisy@duck
  233.  
  234. # sample small feed using batching
  235. gladstone:comp.protocols.tcp-ip,rec.aviation/all:f:
  236.  
  237. # sample major batched feed, including (unnecessary) explicit file name
  238. dewey:comp,news,sci,rec,misc,soc,talk,to.dewey,can,ont,tor,ut/all:f:dewey/togo
  239.  
  240. # sample long-haul feed; note no local groups
  241. donald:comp,news,sci,rec,misc,soc,talk,to.donald/all:f:
  242.  
  243. # sample local-postings-only feed direct to major site (gets them out fast)
  244. scrooge:comp,news,sci,rec,misc,soc,talk,to.scrooge/all:Lf:
  245.  
  246. # sample ihave/sendme link
  247. # NOTE, this is the old ihave/sendme, not related to NNTP in any way.
  248. # Send ihave telling louie what we have -- batcher turns the batch into a
  249. # giant control message and posts it to "to.louie".  (#1)
  250. louie:comp,news,sci,rec,misc,soc,talk,!to/all,!sendme,!ihave:I:louie.ihave/togo
  251. # Send sendme in response to ihave from louie -- again, turned by batcher
  252. # into giant control message posted to "to.louie".  (#3)
  253. louie-send-ids:to.louie/ihave:I:louie.sendme/togo
  254. # Transmit said giant control messages by normal batching.  (#2,#4)
  255. louie-ctl:to.louie/all,!sendme,!ihave:f:louie/togo
  256. # Send articles in response to sendme messages from louie. (#5)
  257. louie-real:to.louie/sendme:f:louie/togo
  258. # Actually the last two could be combined.
  259.  
  260. # also, since ihave/sendme is slow, send local postings to louie without
  261. # waiting (beware ihave/sendme)
  262. louie-local:comp,news,sci,rec,misc,soc,talk/all,!sendme,!ihave:L:
  263.  
  264.  
  265.